package com.qcby.Mapper;

import com.qcby.Entity.TrainDetail;
import com.qcby.query.TrainDetailQuery;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TrainDetailMapper {
    TrainDetailQuery findTrainDetailByTrainId(Integer id);

    void insertTrainDetail(TrainDetail trainDetail);
    void deleteById(Integer id);
    void updateTicketNum(String ticket,Integer trainNumId,Integer stationIndex);
}
